widget: don't check before setting to avoid costly type checks
authorStefan Kost <ensonic@users.sf.net>
Thu, 11 Feb 2010 08:38:44 +0000 (10:38 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 15 Feb 2010 08:14:50 +0000 (10:14 +0200)
commitad93f2bc3e0c34c9c07d16ca2a3ac76811605607
tree0452e04d9d195e15dd357099d3001ab569e528fa
parentc77678e03783286c278ee41b382132c1995b1866
widget: don't check before setting to avoid costly type checks

There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
gtk/gtkwidget.c